/**
 * Aibton.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.aibton.mybatis.share.entity;

/**
 * 分库实体
 * @author huzhihui
 * @version v 0.1 2017/6/4 19:43 huzhihui Exp $$
 */
public class ShareData {

    /**
     * 是否允许分表
     */
    private Boolean allowShare = false;

    /**
     * 分表后缀
     */
    private String  shareTableSuffix;

    /**
     * 超级后缀，如果该不为空，其他后缀不起作用
     */
    private String  supperShareTableSuffix;

    public Boolean getAllowShare() {
        return allowShare;
    }

    public void setAllowShare(Boolean allowShare) {
        this.allowShare = allowShare;
    }

    public String getShareTableSuffix() {
        return shareTableSuffix;
    }

    public void setShareTableSuffix(String shareTableSuffix) {
        this.shareTableSuffix = shareTableSuffix;
    }

    public String getSupperShareTableSuffix() {
        return supperShareTableSuffix;
    }

    public void setSupperShareTableSuffix(String supperShareTableSuffix) {
        this.supperShareTableSuffix = supperShareTableSuffix;
    }
}
